FROM python:3.9.15

USER root

# Installing packages
# 替换debian镜像地址改成阿里云地址解决update更新慢的问题
RUN sed -i s@/deb.debian.org/@/mirrors.aliyun.com/@g /etc/apt/sources.list
RUN apt-get update
RUN apt-get -y install vim
RUN apt-get -y install lrzsz
RUN apt-get -y install libgl1-mesa-glx
RUN pip install --upgrade pip --index-url https://pypi.douban.com/simple
RUN pip install -i https://pypi.douban.com/simple/ -r requirements.txt

